package business;

import java.util.List;

import vo.Favorite;

public interface FavoriteService {

	long getTotalCount();

	List<Favorite> getAllFavorites();

	List<Favorite> getFavoritesByUserId(long userId);

	Favorite getByUserIdItemId(long userId, String itemId);

	List<Favorite> getFavoritesByUserId(int start, int pageSize, long userId);

	void addFavorite(String name);

	void addFavorite(Favorite fv);

}
